import {NgModule} from '@angular/core';
import {IdeComponent} from './ide/ide.component';
import {RouterModule, Routes} from '@angular/router';
import {SharedModule} from '../../shared/shared.module';
import {MenuTreeComponent} from './menu-tree/menu-tree.component';
import {TerminalComponent} from './terminal/terminal.component';
import {SaveConfirmComponent} from './save-confirm/save-confirm.component';
import {SummaryComponent} from './summary/summary.component';
import {DeviceDataComponent} from './device-data/device-data.component';
import {BreadCrumbComponent} from './bread-crumb/bread-crumb.component';

const routes: Routes = [
  {path: '', component: IdeComponent},
];

@NgModule({
  imports: [
    SharedModule.forRoot(),
    RouterModule.forChild(routes)
  ],
  declarations: [
    IdeComponent,
    MenuTreeComponent,
    TerminalComponent,
    SaveConfirmComponent,
    SummaryComponent,
    DeviceDataComponent,
    BreadCrumbComponent
  ],
  entryComponents: [
    SaveConfirmComponent,
  ],
  providers: [MenuTreeComponent]
})
export class IdeModule {
}
